package com.yuexun.dhdoctor.module.Contract.model;


import com.yuexun.dhdoctor.base.BaseEntity;
import com.yuexun.dhdoctor.module.Contract.bean.CreateGroup;
import com.yuexun.dhdoctor.module.Contract.bean.GoupExist;

import java.util.Map;

import rx.Observable;

/**
 * Created by work-jx on 2016/7/25.
 */
public interface ICreateGroupModel {
    //创建群组
    public Observable<CreateGroup> createGroup(Map<String, String> praise);

    //查询群组名称是否存在
    public Observable<BaseEntity<GoupExist>> isGroupExisit(Map<String, String> praise);
}
